package com.atshiyou.service;

import com.atshiyou.bean.Student;
import com.atshiyou.dao.StudentDao;

import java.util.List;

// 定义操作数据库的方法
public interface StudentDaoService {
    //查询所有的学生
    public List<Student> findAll();
    //添加学生
    public boolean addStudent(Student student);
    //删除学生
    public boolean deleteStudent(int studentid);
    //修改学生
    public boolean alterStudent(int stuid,Student student);
}
